﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
/**
* 变压器 类
*/
namespace GraphConfigTool
{
    public class HeaterStripTransformer
    {
        public int index { get; set; }//索引号
        public string name { get; set; }//长方形名称
        public Point nameLocation;
        public Size initSize { get; set; }//长方形初始值
        [JsonIgnore]
        public Pen pen;
        public Rectangle rect { get; set; }
        public Font font = new Font("宋体", 14);
        public int type;

        public HeaterStripTransformer()
        {
            //初始化
            initSize = new Size(80, 25);
            rect = new Rectangle();
            name = "请选择";//初始值
            pen = new Pen(Color.FromArgb(61, 26, 20), 3);
        }
    }
}
